set -gx proxy_host 127.0.0.1
if uname -a | grep WSL > /dev/null
    set -gx proxy_host (cat /etc/resolv.conf | grep nameserver | cut -f 2 -d " ")
end
set -g -x https_proxy http://{$proxy_host}:7893
set -g -x http_proxy http://{$proxy_host}:7893
set -g -x all_proxy socks5://{$proxy_host}:7893

